#ifndef _CUSTOMERH_
#define _CUSTOMERH_

struct customernode
{
	int roomId;
	char m_ID[19];
	char m_name[9];
	int m_age;
	char m_sex[4];
	char phone[12];
	char inDay[12];
	char outDay[12];
	int status;
	struct customernode *next;
};
typedef struct customernode customer;

void customerSystem();

int write_customer(customer *r);

int write_all_customer(customer *r);

customer *read_customer();

void show_me();

int register_rz();

int register_yy();

int free_customer();

int exchange_room_customer();

int keep_room_customer();

int find_customer_roomId();

int find_customer_name();

int find_customer_all();

void backup_customer();

#endif